package cn.iocoder.yudao.module.ai.controller.admin.materialreleasefile.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 素材解压缩文件列新增/修改 Request VO")
@Data
public class MaterialReleaseFileSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9803")
    private Long id;

    @Schema(description = "所属素材编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "12992")
    @NotNull(message = "所属素材编号不能为空")
    private Long materialId;

    @Schema(description = "文件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "文件类型不能为空")
    private String fileType;

    @Schema(description = "文件原始名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "文件原始名称不能为空")
    private String fileOriginalName;

    @Schema(description = "文件存储路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "文件存储路径不能为空")
    private String fileUploadPath;

    @Schema(description = "时长（针对视频）秒")
    private Long duration;

    @Schema(description = "文件大小，比特")
    private Long fileSize;

    @Schema(description = "文件解压的顺序号")
    private Integer sortNum;

}